package com.example.quanxian2;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//过滤器启动
@ServletComponentScan
//开启事务支持
@EnableTransactionManagement

@SpringBootApplication

@MapperScan("com.example.quanxian2.demo1.dao")
public class Quanxian2Application {

    public static void main(String[] args) {
        SpringApplication.run(Quanxian2Application.class, args);
    }

}
